package com.webank.wedatasphere.qualitis.question.service;

import com.webank.wedatasphere.qualitis.controller.request.PageReqDto;
import com.webank.wedatasphere.qualitis.question.entity.Order;
import com.webank.wedatasphere.qualitis.question.service.dto.UserDto;
import com.webank.wedatasphere.qualitis.response.Grid;

import java.util.List;

public interface OrderService {
    Grid<Order> dataGrid(Order order, PageReqDto dto);

    Order get(Long id);

    Order save(Order order);

    int close(List<Long> ids);

    List<UserDto> getOrderUsers();

    int assign(List<Long> ids, Long handler);

    int doReturn(List<Long> ids);
}
